<?php


namespace App\Facades\Admin;

use App\Providers\AdminServiceProvider;

class Admin
{
    /**
     *
     */
    public function name()
    {
        $this->user()->name;
    }

    public function user()
    {
        return auth(AdminServiceProvider::NAME)->user();
    }
}
